<?php

include('db_connect.php');

echo $query = "SELECT * FROM `countries`";

$result = mysql_query($query)or die(mysql_error());
var_dump($result);exit;
$selected_records = mysql_num_rows($result);

echo "\n\n$selected_records RECORD SELECTED";

echo "\n\n<br>\n\n";

while($ans = mysql_fetch_assoc($result)){
  print_r($ans);
}
